import riskClient from "./riskClient";

export const findTemplates = async (params) => {
  return await riskClient.postAsync({
    url: 'api/unitConfig/findTemplates',
    params,
  })
}

export const editTemplateById = async (params) => {
  return await riskClient.postAsync({
    url: 'api/unitConfig/editTemplateById',
    params,
  })
}

export const deleteTemplateById = async (params) => {
  return await riskClient.getAsync({
    url: 'api/unitConfig/deleteTemplateById',
    params,
  })
}